package test.fresh.things.generics;

import java.util.List;

public class Canvas {

	public void draw(Shape s) {
		s.draw(this);
	}
	
	public void drawAll(List<? extends Shape> argList){
		for (Shape shape : argList) {
			shape.draw(this);
		}
	}

}
